import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
        int n =input.nextInt();
        int[] str=new int[n];
        
        for(int i=0;i<n;i++){
        	try{
        	str[i]=Integer.parseInt(input.next());
        	}catch(NumberFormatException e){
        		System.out.println(e);
        		i--;
        	}
        }
        System.out.println(Arrays.toString(str));;
	}

}
